package com.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;

import com.dao.TaskTypeDao;
import com.pojo.TaskType;

public class TaskTypeService {

	@Autowired
	private TaskTypeDao taskTypeDao;

	public void setTaskTypeDao(TaskTypeDao taskTypeDao) {
		this.taskTypeDao = taskTypeDao;
	}
	
	public List<TaskType> getTaskTypes(){
		return taskTypeDao.findAll();
	}
	
}
